﻿namespace Hrunga.PVCM.Framework
{
    /// <summary>
    /// Interface for the Presenters
    /// </summary>
    public interface IPresenter<TView>
        where TView : IView
    {
        /// <summary>
        /// Initializes with the specified view.
        /// </summary>
        /// <param name="view">The view.</param>
        void Initialize(IView view);

        /// <summary>
        /// Gets the view.
        /// </summary>
        /// <value>The view.</value>
        TView View { get; }
    }
}
